package com.arm.service;


import com.arm.module.UserAccount;
import com.arm.module.UserAccountLog;
import com.arm.tools.myRunTime.MyRunTimeExcption;

import java.util.List;
import java.util.Map;

/**
 * Created by Baggio on 2018-12-12.
 */
public interface UserAccountService {

void addUserAccount(UserAccount userAccount)throws MyRunTimeExcption;
      void createUserAccount(Long userId, Byte userAccountType, Long storeId, Byte operatorId) throws MyRunTimeExcption ;
      void modifyUserAccount(Long userId, Byte userAccountType, Integer balance, String remark) throws MyRunTimeExcption ;
    UserAccount getUserAccount(Map<String, String> map) throws MyRunTimeExcption;
    List<UserAccount> getUserAccountListByUserId(Long userId) throws MyRunTimeExcption;
    List<UserAccountLog> getUserAccountLogListByUserId(Long userId) throws MyRunTimeExcption;

}
